package com.kangdi.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kangdi.server.pojo.Admin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * InnoDB free: 7168 kB Mapper 接口
 * </p>
 *
 * @author kangdi
 * @since 2022-10-04
 */
public interface AdminMapper extends BaseMapper<Admin> {
    /**
     * 获得管理员信息
     * @param id
     * @param keyWord
     * @return
     */
    List<Admin> getAllAdmins(@Param("id") Integer id,@Param("keyWord") String keyWord);
}
